<!DOCTYPE HTML>  
<html class="reftest-wait">
<body style="background:yellow;">
<img id="i" src="repeatable-diagonal-gradient.png">
<script>
function doTest() {
  document.getElementById("i").style.opacity = 0.001;
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script> 
</body> 
</html>
